import upload from "@/utils/upload";
import request from "@/utils/request";

// 获取用户信息
export function getUserInfo(userId) {
  return request({
    url: "/cy/user/minapp/"+userId,
	headers: {
		isToken: true
	},
    method: "get" 
  });
}

// 修改用户信息
export function setInfo(data) {
	return request({
	  url: "/cy/user/minapp",
	  headers: {
		  isToken: true
	  },
	  method: "put" ,
	  data: data
	});
  }




